package com.ant.map.myuiimmersive.services;

import android.app.Service;
import android.content.Intent;
import android.os.IBinder;
import android.support.annotation.Nullable;
import android.view.WindowManager;

import com.ant.map.myuiimmersive.views.View01;

/**
 * Created by baichuan on 2016/12/12.
 */

public class FloatingService extends Service implements Runnable {
    private static boolean RUNNING =true;

    private View01 view ;
    private WindowManager wm;


    @Nullable
    @Override
    public IBinder onBind(Intent intent) {
        return null;
    }

    @Override
    public void onCreate() {
        super.onCreate();
        view=new View01(this);
//wm=this.getWindowsMa
        new Thread(this).start();
    }

    @Override
    public void onDestroy() {
        super.onDestroy();
        RUNNING=false;
    }

    @Override
    public void run() {
        while (RUNNING) {


        }
    }
}
